<ion-view>
    <ion-header-bar align-title="center" class="bar-positive">
        <a class="button icon-left ion-chevron-left button-clear" ng-click="save('cancel')">返回</a>
        <div class="h1 title">工作经历</div>
    </ion-header-bar>
    <ion-content class="padding">
        <div class="list">
            <label class="item item-input">
                <span class="input-label">起始时间</span>
                <input type="date" ng-model="tmp.work.start_date">
            </label>
            <label class="item item-input">
                <span class="input-label">截止时间</span>
                <input type="date" ng-model="tmp.work.end_date">
            </label>
            <label class="item item-input">
                <span class="input-label">公司名称</span>
                <input type="text" ng-model="tmp.work.company_name">
            </label>
            <label class="item item-input item-select">
                <div class="input-label">
                    工作性质
                </div>
                <select ng-model="tmp.work.work_type" ng-options="value for value in ['全职', '兼职', '实习']"></select>
            </label>
            <label class="item item-input">
                <span class="input-label">任职部门</span>
                <input type="text" ng-model="tmp.work.department">
            </label>
            <label class="item item-input">
                <span class="input-label">职位</span>
                <input type="text" ng-model="tmp.work.job_name">
            </label>
            <label class="item item-input">
                <span class="input-label">薪水</span>
                <input type="text" ng-model="tmp.work.salary">
            </label>
            <label class="item item-input">
                <span class="input-label">主要工作</span>
                <input type="text" ng-model="tmp.work.desc">
            </label>
        </div>
    </ion-content>
    <div class="bar bar-footer">
        <div class="row row-center">
            <div class="button-bar">
                <a class="button button-positive button-clear" ng-click="save()">保存</a>
                <a class="button button-positive button-clear" ng-click="save('cancel')">取消</a>
            </div>
        </div>
    </div>
</ion-view>
